<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>个人主页-<?=_get_config('sitename')?></title>
<?php include_once(VIEWPATH."public/header_title.php");?>
<link href="<?php echo _get_cfg_path('css')?>base.css" type="text/css" rel="stylesheet" />
<link href="<?php echo _get_cfg_path('css')?>common.css" type="text/css" rel="stylesheet" />
<link href="<?php echo _get_cfg_path('lib')?>uploadify/uploadify.css" type="text/css" rel="stylesheet" />
<!--[if IE 6]>
<script src="<?php echo _get_cfg_path('js')?>DD_belatedPNG.js" type="text/javascript" ></script>
<script>DD_belatedPNG.fix('a,img');</script>
<![endif]-->
<style>#container{position:relative;width:100%;}.grid{width:540px;min-height:100px;float:left;}</style>
</head>
<body>
<?php include_once(VIEWPATH."public/header.php");?>
<div class="mainbody" id="mainbody">
	<div class="introd container">        
    <?php include_once(VIEWPATH."i/public/top.php");?>
    <div class="personal mrgB30">
            <div class="title">基本信息</div>
            <ul class="clearfix bainfo">
            	<?php if ($oUser['nickname']):?><li><span>姓名</span> <?=$oUser['nickname']?></li><?php endif;?>
                <?php if ($oUser['height']):?><li><span>身高</span> <?=$oUser['height']?> cm</li><?php endif;?>
                <?php if ($oUser['weight']):?><li><span>体重</span> <?=$oUser['weight']?> kg</li><?php endif;?>
                <?php if ($oUser['bust']):?><li><span>胸围</span> <?=$oUser['bust']?> cm</li><?php endif;?>
                <?php if ($oUser['waist']):?><li><span>腰围</span><?=$oUser['waist']?> cm</li><?php endif;?>
                <?php if ($oUser['hips']):?><li><span>臀围</span><?=$oUser['hips']?> cm</li><?php endif;?>
                <?php if ($oUser['shoes']):?><li><span>鞋码</span> <?=$oUser['shoes']?>  码</li><?php endif;?>
                <?php if ($oUser['cup']):?><li><span>罩杯</span> <?=$oUser['cup']?></li><?php endif;?>
<!--             </ul> -->
            <?php if($oBody):?>
<!--                 <ul class="clearfix bainfo"> -->
                <?php if($oBody['hipe']):?><li><span>上臀围</span> <?=$oBody['hipe']?> cm</li><?php endif?>
                <?php if($oBody['hipd']):?><li><span>下臀围</span> <?=$oBody['hipd']?> cm</li><?php endif?>
                <?php if($oBody['collarf']):?><li><span>领围</span> <?=$oBody['collarf']?> cm</li><?php endif?>
                <?php if($oBody['shoulderg']):?><li><span>肩宽</span> <?=$oBody['shoulderg']?> cm</li><?php endif?>
                <?php if($oBody['sleeveh']):?><li><span>臂长</span> <?=$oBody['sleeveh']?> cm</li><?php endif?>
                <?php if($oBody['sleevefull']):?><li><span>袖长</span> <?=$oBody['sleevefull']?> cm</li><?php endif?>
                <?php if($oBody['outseam']):?><li><span>外侧裤长</span> <?=$oBody['outseam']?> cm</li><?php endif?>
                <?php if($oBody['inseamj']):?><li><span>内侧裤长</span> <?=$oBody['inseamj']?> cm</li><?php endif?>
                <?php if($oBody['hatk']):?><li><span>头围</span> <?=$oBody['hatk']?> cm</li><?php endif?>
                <?php if($oBody['wristl']):?><li><span>腕围</span> <?=$oBody['wristl']?> cm</li><?php endif?>
                <?php if($oBody['thighm']):?><li><span>大腿围</span> <?=$oBody['thighm']?> cm</li><?php endif?>
                <?php if($oBody['calfn']):?><li><span>小腿围</span> <?=$oBody['calfn']?> cm</li><?php endif?>
                <?php if($oBody['hair']):?><li><span>头发</span> <?=$oBody['hair']?></li><?php endif?>
                <?php if($oBody['eye']):?><li><span>眼睛</span> <?=$oBody['eye']?></li><?php endif?>
            <?php endif?>   
            </ul>         
            <br /><br /><br />
            <div class="title">个人简介</div>
            <div class="clearfix">
            	<div class="fl flpet">
                    <div class="per_con">
                        <!--<h3 class="p_bti"><i></i>个人简介</h3>-->
                        <div class="p_wzi">
                        	<?=!empty($oUser['brand'])?htmlspecialchars_decode($oUser['brand']):''?>
                        <br />
                        <br />
                        <?php if ($oUser['insid']&&$ins_user&&($ins_user['com_short']||$ins_user['nickname'])):?>
                        	<a class="ins_artists" target="_blank" href="/i/index/<?=$ins_user['userid']?>"><?=$ins_user['com_short']?$ins_user['com_short']:$ins_user['nickname']?></a>旗下模特
                        <?php endif;?>
                        </div>
                    </div>
                </div>
                <?php if ($oUser['video']):?>
	                <div>
		                <?php if (strstr($oUser['video'], 'tudou.com') || strstr($oUser['video'], 'youku.com') || strstr($oUser['video'], 'ku6.com') || strstr($oUser['video'], '56.com')):?>
		                	<div style="height:400px;">
		                	<embed src="<?=_getVedioSwf($oUser['video'])?>" quality="high" width="480" height="500" align="middle" allowScriptAccess="always" allowFullScreen="true" mode="transparent" type="application/x-shockwave-flash"></embed>
		                	</div>
		                <?php else :?>
		                	<?php if (strpos($_SERVER["HTTP_USER_AGENT"],"Trident")):?>
				                <div class="fr p_video" style="width:400px;height:300px">
					                <object id="MediaPlayer" classid="clsid:22D6F312-B0F6-11D0-94AB-0080C74C7E95" width="400" height="600" standby="Loading Windows Media Player components…" type="application/x-oleobject" codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,4,7,1112">
									<param name="FileName" value="<?=_getOssPath($oUser['video'])?>">
									<param name="AutoStart" value="false">
									<param name="ShowControls" value="true">
									<param name="BufferingTime" value="2">
									<param name="ShowStatusBar" value="true">
									<param name="AutoSize" value="true">
									<param name="InvokeURLs" value="false">
									<param name="AnimationatStart" value="1">
									<param name="TransparentatStart" value="1">
									<param name="Loop" value="1">
									<embed type="application/x-mplayer2" src="<?=_getOssPath($oUser['video'])?>" name="MediaPlayer" autostart="1" showstatusbar="1" showdisplay="1" showcontrols="1" loop="0" videoborder3d="0" pluginspage="http://www.microsoft.com/Windows/MediaPlayer/" width="800" height="600"></embed>
									</object>
								</div>
							<?php elseif (strstr($oUser['video'], '.mp4')) :?>
								<video src="<?=_getOssPath($oUser['video'])?>"  width="400" height="300" controls="controls" style="background:black;margin-top:20px;">
									<source src="<?=_getOssPath($oUser['video'])?>" type="video/avi">
									Your browser does not support the video tag.
								</video>
							<?php elseif (strstr($oUser['video'], '.avi') || strstr($oUser['video'], '.AVI')):?>
								<iframe height=10 width=500 style="margin-top:10px;" src="<?=_getOssPath($oUser['video'])?>" frameborder=0 allowfullscreen></iframe>
							<?php endif;?>
		                <?php endif;?>
	                </div>
                <?php endif;?>
            </div>
            <br /><br /><br />
            <div class="title">工作说明</div>
            <div class="per_con">
                <!--<h3 class="p_bti"><i></i>工作说明</h3>-->
                <div class="p_wzi"><?=!empty($oUser['fee'])?html_entity_decode($oUser['fee']):''?><br /></div>
            </div>           
            <?php /*?><div class="per_con">
                <h3 class="p_bti"><i></i>工作报价</h3>
                <div class="p_wzi"><?=!empty($oUser['fee'])?$oUser['fee']:''?><br /></div>
            </div>
            <div class="per_con">
                <h3 class="p_bti"><i></i>工作时间</h3>
                <div class="p_wzi"><?=!empty($oUser['servicetime'])?$oUser['servicetime']:''?><br /></div>
            </div>
            <div class="per_con">
                <h3 class="p_bti"><i></i>注意事项</h3>
                <div class="p_wzi"><?=!empty($oUser['takenote'])?$oUser['takenote']:''?><br /></div>
            </div><?php */?>  
            
            
            <?php if(!empty($oUser['card'])):?>
            <br /><br />
            <div class="title">模特卡</div>
            <br />
            <div class="per_advert">
                <a href="/<?=$oUser['card']?>" target="_blank"><img src="/<?=$oUser['card']?>"/></a>
            </div>
            <?php endif?>
            <?php if (!empty($oUser['recent_photo'])) :?>
            <br /><br />
            <div class="title">近照</div>
            <br />
            <div class="per_advert">
                <a href="/<?=$oUser['recent_photo']?>" target="_blank"><img src="/<?=$oUser['recent_photo']?>"/></a>
            </div>
            <?php endif;?>
            
            <br /><br />
            <div class="title">精选作品</div>

            <div class="malbumdeta" id="container">
                <?php foreach ($oGood as $key => $a): ?>
                <div class="grid"><img src="<?=$a['img']?>"/></div>
                <?php endforeach;?>
            </div>

        </div>
    </div>
</div>
<!--mainbody-->
<?php include_once(VIEWPATH."public/footer.php");?>
</body>
<script type="text/javascript" src="<?php echo _get_cfg_path('js')?>jquery-1.9.1.min.js"></script>
<script type="text/javascript" src="<?php echo _get_cfg_path('js')?>common.js"></script>
<script type="text/javascript" src="<?php echo _get_cfg_path('js')?>main.js"></script>
<!--<script type="text/javascript" src="<?php echo _get_cfg_path('js')?>waterfall.js"></script>-->
<script type="text/javascript" src="<?php echo _get_cfg_path('js')?>blocksit.min.js"></script>
<script type="text/javascript">
$(document).ready(function() {
    //blocksit define
    $(window).load( function() {
        $('#container').BlocksIt({
            numOfCol: 2,
            offsetX: 6,
            offsetY: 6
        });
    });
    
    //window resize
    var currentWidth = 1100;
    $(window).resize(function() {
        var winWidth = $(window).width();
        var conWidth;
        if(winWidth < 660) {
            conWidth = 440;
            col = 2
        } else if(winWidth < 880) {
            conWidth = 660;
            col = 3
        } else if(winWidth < 1100) {
            conWidth = 880;
            col = 4;
        } else {
            conWidth = 1100;
            col = 5;
        }
        
        if(conWidth != currentWidth) {
            currentWidth = conWidth;
            $('#container').width(conWidth);
            $('#container').BlocksIt({
                numOfCol: col,
                offsetX: 6,
                offsetY: 6
            });
        }
    });
});
</script>
</html>